package com.rent.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zn
 * @since 2025-03-04
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("wxapplet_config")
@ApiModel(value = "WxappletConfig对象", description = "WxappletConfig")
public class WxappletConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("小程序名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("公司id")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty("公司名称")
    @TableField("company_name")
    private String companyName;

    @ApiModelProperty("小程序ID")
    @TableField("appid")
    private String appid;

    @ApiModelProperty("密钥")
    @TableField("secret")
    private String secret;

    @ApiModelProperty("token令牌")
    @TableField("token")
    private String token;

    @ApiModelProperty("aeskey")
    @TableField("aeskey")
    private String aeskey;

    @ApiModelProperty("状态")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("小程序图标")
    @TableField("logo")
    private String logo;

    @ApiModelProperty("二维码")
    @TableField("qr_code")
    private String qrCode;

    @ApiModelProperty("链接")
    @TableField("url")
    private String url;

    @ApiModelProperty("排序")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty("描述说明")
    @TableField("description")
    private String description;

    @TableField("create_time")
    private Date createTime;
}
